﻿/* * 版 本 PIT-ADMS V7.0.3 敏捷开发框架
 * Copyright (c) 2013-2018 Hexagon PPM
 * 创建人：超级管理员
 * 日  期：2022-06-15 10:00
 * 描  述：报表文件
 */
var acceptClick;
var folderId = request('folderId');//文件夹ID
var reportFileName = request('reportFileName');
var bootstrap = function ($, learun) {
    "use strict";
    var page = {
        init: function () {
            $('.lr-form-wrap').lrscroll();
            page.bind();
            page.initData();
        },
        bind: function () {
        },
        initData: function () {
        }
    };
    // 保存数据
    acceptClick = function (callBack) {
        if (!$('#form').lrValidform()) {
            return false;
        }
        if (!verify()) {
            return false;
        }
        // 保存成功后才回调
        if (!!callBack) {
            var deleteFlg = $('#DeleteFlg').prop('checked');
            callBack(folderId, escape(reportFileName), deleteFlg);
        }
        learun.layerClose(window.name);
    };
    page.init();
}
function verify() {
    return true;
}